/*  ----------------------------------------------------------------------------
 *  Arello Mobile
 *  Fast 3d Engine
 *  ----------------------------------------------------------------------------
 * Except where otherwise noted, this work is licensed under
 * http://creativecommons.org/licenses/by/3.0
 */

#ifndef ENVELOPEBUILDER_H
#define ENVELOPEBUILDER_H

#include "Envelope.h"

class EnvelopeBuilder
{
	Envelope current;
public:
	EnvelopeBuilder();
	void make_points( const EnvelopePoints & points );
	void make_sustain_point( int point );
	void make_loop_begin( int point );
	void make_loop_end( int point );
	void make_envelope_type( unsigned char type );
	Envelope get_result();
};

#endif